﻿@model QRCode.Models.QRCodePromotion

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>QRCodePromotion</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.AgentName)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AgentName)
            @Html.ValidationMessageFor(model => model.AgentName)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Name)
            @Html.ValidationMessageFor(model => model.Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Description)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Description)
            @Html.ValidationMessageFor(model => model.Description)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Address)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Address)
            @Html.ValidationMessageFor(model => model.Address)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Code)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Code)
            @Html.ValidationMessageFor(model => model.Code)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Image)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Image)
            @Html.ValidationMessageFor(model => model.Image)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.StartDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.StartDate)
            @Html.ValidationMessageFor(model => model.StartDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EndDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EndDate)
            @Html.ValidationMessageFor(model => model.EndDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.DaysOnMarket)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.DaysOnMarket)
            @Html.ValidationMessageFor(model => model.DaysOnMarket)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Heating)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Heating)
            @Html.ValidationMessageFor(model => model.Heating)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.YearBuilt)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.YearBuilt)
            @Html.ValidationMessageFor(model => model.YearBuilt)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.AskingPrice)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.AskingPrice)
            @Html.ValidationMessageFor(model => model.AskingPrice)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.GeoLocation)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.GeoLocation)
            @Html.ValidationMessageFor(model => model.GeoLocation)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.MainPicture)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.MainPicture)
            @Html.ValidationMessageFor(model => model.MainPicture)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture1Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture1Name)
            @Html.ValidationMessageFor(model => model.Picture1Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture1)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture1)
            @Html.ValidationMessageFor(model => model.Picture1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture2Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture2Name)
            @Html.ValidationMessageFor(model => model.Picture2Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture2)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture2)
            @Html.ValidationMessageFor(model => model.Picture2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture3Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture3Name)
            @Html.ValidationMessageFor(model => model.Picture3Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture3)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture3)
            @Html.ValidationMessageFor(model => model.Picture3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture4Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture4Name)
            @Html.ValidationMessageFor(model => model.Picture4Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture4)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture4)
            @Html.ValidationMessageFor(model => model.Picture4)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture5Name)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture5Name)
            @Html.ValidationMessageFor(model => model.Picture5Name)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Picture5)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Picture5)
            @Html.ValidationMessageFor(model => model.Picture5)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Active)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Active)
            @Html.ValidationMessageFor(model => model.Active)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
